package zjhr.com.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import zjhr.com.pojo.Recruitplan;
import zjhr.com.pojo.RecruitplanExample;

public interface RecruitplanMapper {
    int countByExample(RecruitplanExample example);

    int deleteByExample(RecruitplanExample example);

    int deleteByPrimaryKey(String planid);

    int insert(Recruitplan record);

    int insertSelective(Recruitplan record);

    List<Recruitplan> selectByExample(RecruitplanExample example);

    Recruitplan selectByPrimaryKey(String planid);

    int updateByExampleSelective(@Param("record") Recruitplan record, @Param("example") RecruitplanExample example);

    int updateByExample(@Param("record") Recruitplan record, @Param("example") RecruitplanExample example);

    int updateByPrimaryKeySelective(Recruitplan record);

    int updateByPrimaryKey(Recruitplan record);
    //分页
    List<Recruitplan> pageQuery(int start,int rows);
}